home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / zdn.xml < prev   
Text File  |  2002-08-30  |  3KB  |  86 lines

  1. <search function="zdn">
  2.   <name>ZDNet Downloads</name>
  3.   <description>Search Ziff-Davis Net for software. Searches for Windows software by default.<br/>
  4.   <div class="helpboxDescLabels">Switches:</div>
  5.     <table class="helpboxDescTable">
  6.         <tr><td>/all</td><td> - </td><td>All Platform Downloads</td></tr>
  7.         <tr><td>/mac</td><td> - </td><td>MacOS Downloads</td></tr>
  8.     <tr><td>/linux</td><td> - </td><td>Linux Downloads</td></tr>
  9.     <tr><td>/palm</td><td> - </td><td>Palm Downloads</td></tr>
  10.     <tr><td>/ce</td><td> - </td><td>CE Downloads</td></tr>
  11.     <tr><td>/psion</td><td> - </td><td>Psion/EPOC Downloads</td></tr>
  12.     </table>
  13.   <div class="helpboxDescLabels">Example:</div>
  14.   <table class="helpboxDescTable">
  15.         <tr><td>zdn quicktime /mac</td></tr>
  16.     </table>
  17.   </description>
  18.   
  19.   <category>Computers</category>
  20.   <link>http://www.zdnet.com/downloads/</link>
  21.   <contributor>John W. Bairen, Jr., Ryan Edwards</contributor>
  22.   
  23.   <form name="zdnf" 
  24.         method="get"
  25.         action="http://downloads-zdnet.com.com/3120-20-0.html">
  26.     <input type="hidden" name="titlename" value=""/>
  27.     <input type="hidden" name="author" value=""/>
  28.     <input type="hidden" name="desc" value=""/>
  29.     <input type="hidden" name="qt" value=""/>
  30.     <input type="hidden" name="ca" value="2001"/>
  31.     <input type="hidden" name="os" value=""/>
  32.     <input type="hidden" name="daysback" value=""/>
  33.     <input type="hidden" name="li" value=""/>
  34.     <input type="hidden" name="dlcount" value=""/>
  35.     <input type="hidden" name="dlsize" value=""/>
  36.     <input type="hidden" name="swlink" value="false"/>
  37.   </form>
  38.   
  39.   <script><![CDATA[
  40.     function zdn(q)
  41.     {
  42.       var args = parseArgs(q, "all, mac, ce, linux, palm, psion");
  43.       if( q == "" )
  44.         openSearchWindow(" http://www.zdnet.com/downloads/");
  45.       else if( args.switches.length == 1 )
  46.       {
  47.         switch( args.switches[0].name )
  48.         {
  49.           case "all":
  50.             document.zdnf.ca.value = "";
  51.             break;
  52.           case "mac":
  53.             document.zdnf.ca.value = "2003";
  54.             break;
  55.           case "linux":
  56.             document.zdnf.ca.value = "2002";
  57.             break;
  58.           case "palm":
  59.             document.zdnf.ca.value = "2008";
  60.             break
  61.           case "ce":
  62.             document.zdnf.ca.value = "2009";
  63.             break;
  64.           case "psion":
  65.             document.zdnf.ca.value = "2020";
  66.             break;
  67.         }
  68.         document.zdnf.titlename.value = args.q;
  69.         submitForm(zdnf);
  70.       }
  71.       else
  72.       {
  73.         document.zdnf.ca.value = "2001";
  74.         document.zdnf.titlename.value = args.q;
  75.         submitForm(zdnf);
  76.       }
  77.    }
  78.   ]]></script>
  79.  
  80.   <copyright>
  81.     Copyright (c) 2002 David Bau
  82.     Distributed under the terms of the
  83.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  84.   </copyright>
  85. </search>
  86.